ISCPropertyValue
The ISCPropertyValue interface is a single value of a given property.
The following table contains the methods for the ISCPropertyValue interface:
Method |
Description |
---|---|
SC_ValueTypes * GetSupportedValueIdTypes() |
Groups a list of supported value types for the current value identifier and returns it as a SAFEARRAY. The GetValue method must be able to convert the current value into any value type whose code appears in the returned list. If the list is empty, the value is available only in its native (such as default) format. Reference properties must return an empty list. |
SC_ValueTypes * GetSupportedValueTypes() |
Groups a list of supported value types and returns it as a SAFEARRAY. The GetValueId method must be able to convert the current value into any value type whose code appears in the returned list. If the list is empty, then the current identifier is available only in its native (such as default) format. |
SC_CLSID PropertyClassId() |
Returns the class identifier of the current property. |
BSTR PropertyClassName() |
Returns the class name of the current property. |
VARIANT Value(VARIANT ValueType [optional]) |
Converts the current value to the passed value type. |
VARIANT ValueId(VARIANT ValueType [optional]) |
Uniquely identifies the value in a non-scalar property. |
SC_ValueTypes ValueIdType() |
Passes back the default type of the ValueId that identifies the value within the non-scalar property. |
SC_ValueTypes ValueType() |
Passes back the default type of the property value. |
More information about value data types is located in the SC_ValueTypes section.
Copyright © 2025 Quest Software, Inc. |